package cn.hsa.fqz.task.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 案事件反馈表
 * @TableName t_task_medc_clue_feedback
 */
@TableName(value ="t_task_medc_clue_feedback")
public class TTaskMedcClueFeedbackDO implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 任务主键
     */
    private Integer taskId;

    /**
     * 任务编码
     */
    private String taskCode;

    /**
     * 违规线索序列号
     */
    private String sequenceNo;

    /**
     * 医药机构代码
     */
    private String medcCode;

    /**
     * 医药机构名称
     */
    private String medcName;

    /**
     * 任务标题
     */
    private String title;

    /**
     * 反馈内容
     */
    private String content;

    /**
     * 反馈人
     */
    private String createBy;

    /**
     * 反馈人姓名
     */
    private String createByName;

    /**
     * 反馈时间
     */
    private Date createTime;

    /**
     * 检查过程
     */
    private Integer checkNode;

    /**
     * 检查结果:1,约谈  2,通报批评 3,限期整改 4,解除协议 5,移交公安 6,移交卫健
     */
    private Integer checkResult;

    /**
     * 风险等级：高-3，中-2，低-1
     */
    private Integer fxdj;

    @TableField(exist=false)
    private String checkResultDesc;

    /**
     * 协议违约金
     */
    private String violateCost;

    /**
     * 处罚金额
     */
    private String pulishCost;

    /**
     * 移交人数
     */
    private String pulishNumber;

    /**
     * 追回医保基金金额
     */
    private String penaltyCost;

    /**
     * 处罚主体：1、医药机构 2、医院科室 3、医师药师 4、参保人员
     */
    private Integer dealType;

    /**
     * 省级编码
     */
    private String proviceCode;

    /**
     * 地市编码
     */
    private String cityCode;

    /**
     * 涉嫌基金
     */
    private String violateFund;

    /**
     * 涉嫌资金
     */
    private String violateFinance;

    public Integer getFxdj() {
        return fxdj;
    }

    public void setFxdj(Integer fxdj) {
        this.fxdj = fxdj;
    }

    @TableField(exist=false)
    private List<TTaskMedcClueFeedbackAttachmentDO> attachmentDOS;

    @TableField(exist=false)
    private List<TTaskMedcClueFeedbackPulishDetail> pulishDetails;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 任务主键
     */
    public Integer getTaskId() {
        return taskId;
    }

    /**
     * 任务主键
     */
    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    /**
     * 违规线索序列号
     */
    public String getSequenceNo() {
        return sequenceNo;
    }

    /**
     * 违规线索序列号
     */
    public void setSequenceNo(String sequenceNo) {
        this.sequenceNo = sequenceNo;
    }

    /**
     * 医药机构代码
     */
    public String getMedcCode() {
        return medcCode;
    }

    /**
     * 医药机构代码
     */
    public void setMedcCode(String medcCode) {
        this.medcCode = medcCode;
    }

    /**
     * 医药机构名称
     */
    public String getMedcName() {
        return medcName;
    }

    /**
     * 医药机构名称
     */
    public void setMedcName(String medcName) {
        this.medcName = medcName;
    }

    /**
     * 任务标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 任务标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 反馈内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 反馈内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 反馈人
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 反馈人
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 反馈时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 反馈时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 违规金额
     */
    public String getPulishCost() {
        return pulishCost;
    }

    /**
     * 违规金额
     */
    public void setPulishCost(String pulishCost) {
        this.pulishCost = pulishCost;
    }

    /**
     * 处罚主体：1、医药机构 2、医院科室 3、医师药师 4、参保人员
     */
    public Integer getDealType() {
        return dealType;
    }

    /**
     * 处罚主体：1、医药机构 2、医院科室 3、医师药师 4、参保人员
     */
    public void setDealType(Integer dealType) {
        this.dealType = dealType;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public Integer getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(Integer checkResult) {
        this.checkResult = checkResult;
    }

    public String getViolateCost() {
        return violateCost;
    }

    public void setViolateCost(String violateCost) {
        this.violateCost = violateCost;
    }

    public String getPulishNumber() {
        return pulishNumber;
    }

    public void setPulishNumber(String pulishNumber) {
        this.pulishNumber = pulishNumber;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getProviceCode() {
        return proviceCode;
    }

    public void setProviceCode(String proviceCode) {
        this.proviceCode = proviceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getPenaltyCost() {
        return penaltyCost;
    }

    public void setPenaltyCost(String penaltyCost) {
        this.penaltyCost = penaltyCost;
    }

    public String getCheckResultDesc() {
        return checkResultDesc;
    }

    public void setCheckResultDesc(String checkResultDesc) {
        this.checkResultDesc = checkResultDesc;
    }

    public Integer getCheckNode() {
        return checkNode;
    }

    public void setCheckNode(Integer checkNode) {
        this.checkNode = checkNode;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }

    public List<TTaskMedcClueFeedbackAttachmentDO> getAttachmentDOS() {
        return attachmentDOS;
    }

    public void setAttachmentDOS(List<TTaskMedcClueFeedbackAttachmentDO> attachmentDOS) {
        this.attachmentDOS = attachmentDOS;
    }

    public List<TTaskMedcClueFeedbackPulishDetail> getPulishDetails() {
        return pulishDetails;
    }

    public void setPulishDetails(List<TTaskMedcClueFeedbackPulishDetail> pulishDetails) {
        this.pulishDetails = pulishDetails;
    }

    public String getViolateFund() {
        return violateFund;
    }

    public void setViolateFund(String violateFund) {
        this.violateFund = violateFund;
    }

    public String getViolateFinance() {
        return violateFinance;
    }

    public void setViolateFinance(String violateFinance) {
        this.violateFinance = violateFinance;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TTaskMedcClueFeedbackDO other = (TTaskMedcClueFeedbackDO) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getTaskId() == null ? other.getTaskId() == null : this.getTaskId().equals(other.getTaskId()))
            && (this.getTaskCode() == null ? other.getTaskCode() == null : this.getTaskCode().equals(other.getTaskCode()))
            && (this.getSequenceNo() == null ? other.getSequenceNo() == null : this.getSequenceNo().equals(other.getSequenceNo()))
            && (this.getMedcCode() == null ? other.getMedcCode() == null : this.getMedcCode().equals(other.getMedcCode()))
            && (this.getMedcName() == null ? other.getMedcName() == null : this.getMedcName().equals(other.getMedcName()))
            && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
            && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateByName() == null ? other.getCreateByName() == null : this.getCreateByName().equals(other.getCreateByName()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getCheckResult() == null ? other.getCheckResult() == null : this.getCheckResult().equals(other.getCheckResult()))
            && (this.getCheckNode() == null ? other.getCheckNode() == null : this.getCheckNode().equals(other.getCheckNode()))
            && (this.getViolateCost() == null ? other.getViolateCost() == null : this.getViolateCost().equals(other.getViolateCost()))
            && (this.getPulishCost() == null ? other.getPulishCost() == null : this.getPulishCost().equals(other.getPulishCost()))
            && (this.getPulishNumber() == null ? other.getPulishNumber() == null : this.getPulishNumber().equals(other.getPulishNumber()))
            && (this.getProviceCode() == null ? other.getProviceCode() == null : this.getProviceCode().equals(other.getProviceCode()))
            && (this.getCityCode() == null ? other.getCityCode() == null : this.getCityCode().equals(other.getCityCode()))
            && (this.getPenaltyCost() == null ? other.getPenaltyCost() == null : this.getPenaltyCost().equals(other.getPenaltyCost()))
            && (this.getViolateFund() == null ? other.getViolateFund() == null : this.getViolateFund().equals(other.getViolateFund()))
            && (this.getViolateFinance() == null ? other.getViolateFinance() == null : this.getViolateFinance().equals(other.getViolateFinance()))
            && (this.getDealType() == null ? other.getDealType() == null : this.getDealType().equals(other.getDealType()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getTaskId() == null) ? 0 : getTaskId().hashCode());
        result = prime * result + ((getTaskCode() == null) ? 0 : getTaskCode().hashCode());
        result = prime * result + ((getSequenceNo() == null) ? 0 : getSequenceNo().hashCode());
        result = prime * result + ((getMedcCode() == null) ? 0 : getMedcCode().hashCode());
        result = prime * result + ((getMedcName() == null) ? 0 : getMedcName().hashCode());
        result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
        result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateByName() == null) ? 0 : getCreateByName().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getCheckResult() == null) ? 0 : getCheckResult().hashCode());
        result = prime * result + ((getViolateCost() == null) ? 0 : getViolateCost().hashCode());
        result = prime * result + ((getPulishCost() == null) ? 0 : getPulishCost().hashCode());
        result = prime * result + ((getPulishNumber() == null) ? 0 : getPulishNumber().hashCode());
        result = prime * result + ((getDealType() == null) ? 0 : getDealType().hashCode());
        result = prime * result + ((getProviceCode() == null) ? 0 : getProviceCode().hashCode());
        result = prime * result + ((getPenaltyCost() == null) ? 0 : getPenaltyCost().hashCode());
        result = prime * result + ((getViolateFund() == null) ? 0 : getViolateFund().hashCode());
        result = prime * result + ((getViolateFinance() == null) ? 0 : getViolateFinance().hashCode());
        result = prime * result + ((getCityCode() == null) ? 0 : getCityCode().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", taskId=").append(taskId);
        sb.append(", taskCode=").append(taskCode);
        sb.append(", sequenceNo=").append(sequenceNo);
        sb.append(", medcCode=").append(medcCode);
        sb.append(", medcName=").append(medcName);
        sb.append(", title=").append(title);
        sb.append(", content=").append(content);
        sb.append(", createBy=").append(createBy);
        sb.append(", createByName=").append(createByName);
        sb.append(", createTime=").append(createTime);
        sb.append(", checkResult=").append(checkResult);
        sb.append(", violateCost=").append(violateCost);
        sb.append(", pulishCost=").append(pulishCost);
        sb.append(", pulishNumber=").append(pulishNumber);
        sb.append(", dealType=").append(dealType);
        sb.append(", proviceCode=").append(proviceCode);
        sb.append(", cityCode=").append(cityCode);
        sb.append(", penaltyCost=").append(penaltyCost);
        sb.append(", violateFinance=").append(violateFinance);
        sb.append(", violateFund=").append(violateFund);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
